package com.lecyon.farm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lecyon.farm.entity.SysAreaData;
import com.lecyon.farm.rest.IRestService;
import com.lecyon.farm.vo.add.AddSysAreaDataVo;
import com.lecyon.farm.vo.export.ExportSysAreaDataVo;
import com.lecyon.farm.vo.modify.ModifySysAreaDataVo;
import com.lecyon.farm.vo.query.QuerySysAreaDataVo;
import com.lecyon.farm.vo.status.StatusVo;
import com.lecyon.farm.vo.view.SysAreaDataVo;

/**
 * 全国各地经纬度信息 Service
 *
 * @author YaoZheng
 * @since 2020-04-22
 */
public interface ISysAreaDataService extends IRestService<AddSysAreaDataVo, ModifySysAreaDataVo, SysAreaData, QuerySysAreaDataVo, SysAreaDataVo, Page, StatusVo, ExportSysAreaDataVo> {

    /**
     * 根据地区全称找到唯一对应的经纬度记录
     *
     * @param mergerName
     * @return
     */
    SysAreaData getByMergerName(String mergerName);

}
